package com.itheima;

import redis.clients.jedis.Jedis;

public class JedisLinux {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.85.165",6379);
        String result = jedis.set("phone", "huawei");
        String phone = jedis.get("phone");
        System.out.println(phone);
        jedis.close();
    }
}
